package cn.bore.tomato.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import cn.bore.tomato.domain.TmsSessions;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import cn.bore.common.excel.annotation.ExcelDictFormat;
import cn.bore.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 番茄记录视图对象 tms_sessions
 *
 * @author 范亚鹏
 * @date 2025-08-30
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TmsSessions.class)
public class TmsSessionsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 番茄任务编码
     */
    @ExcelProperty(value = "番茄任务编码")
    private Long taskId;

    /**
     * 番茄时长
     */
    @ExcelProperty(value = "番茄时长")
    private Date startTime;

    /**
     * 休息时长
     */
    @ExcelProperty(value = "休息时长")
    private Date endTime;

    /**
     * 计划时长
     */
    @ExcelProperty(value = "计划时长")
    private Long plannedDuration;

    /**
     * 实际时长
     */
    @ExcelProperty(value = "实际时长")
    private Long actualDuration;


}
